package com.infindo.appcreate.zzyj.service;

import java.util.List;

import com.infindo.appcreate.zzyj.entity.Activity;
import com.infindo.appcreate.zzyj.entity.ActivityTalk;
import com.infindo.appcreate.zzyj.entity.Expert;
import com.infindo.appcreate.zzyj.entity.ExpertProject;
import com.infindo.appcreate.zzyj.entity.Infomation;
import com.infindo.appcreate.zzyj.entity.Project;
import com.infindo.appcreate.zzyj.entity.ProjectComment;
import com.infindo.appcreate.zzyj.entity.ProjectSupporter;
import com.infindo.appcreate.zzyj.entity.Service;
import com.infindo.framework.base.service.BaseService;

public interface ZzyjSpiderService<T>  extends BaseService {
    
    public void deleteAllData(String ... tables);

    public void saveSpiderData(List ... dataList);
    
    public void updateSpideData(List voList);
    
    public List<Project> getProjListByMcode(String mCode);

    public List<Project> getProjsByPage(String mCode, int rpp, Integer startIndex);

    public int getObjCount(T t);

    public List<ProjectSupporter> getProjSupListByCodes(String proCode, Integer type);

    public List<ProjectSupporter> getProjSupListByCodesPage(String proCode, Integer type, int pageSize, Integer startIndex);

    public List<ProjectComment> getProjComtListByCodes(String proCode, Integer type);

    public List<ProjectComment> getCommentsByPage(String proCode, Integer type, int rpp, Integer startIndex);

    public List<Service> getObjList(Class<Service> class1);

    public List<Expert> getExpertList();

    public List<Expert> getExpertsByPage(int rpp, Integer startIndex);

    public List<Project> getExpertProjsList(String expertCode, int type);

    public List<Object> getExpertComtsList(String expertCode);

	public List<Activity> getActivityList();

	public List<ActivityTalk> getActivityTalks(String actCode);

	public List<Infomation> getInfomationList();

	public List<Infomation> getInfomatinsByPage(int rpp, Integer startIndex);

     
}
